﻿@{
    Layout = "~/Views/Shared/PublicLayout.cshtml";
    ViewBag.Title = "גישה חסומה";

    if (string.IsNullOrEmpty(ViewBag.MessageText))
    {
        ViewBag.MessageText = "אין לך הרשאה לצפות בעמוד זה.";
    }
}
<div class="messageText">
    @ViewBag.MessageText
    @if (ViewBag.ShowAdminLink != null)
    {
        if (ViewBag.ShowAdminLink)
        {
        <div>
            <a href="@Url.Action("Index", "Admin")">התחבר לפאנל הניהול</a>
        </div>
        }
    }
</div>